Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / DeleteCellsRangeCommand Class / Create Method / Create(IWorksheet,EventHandler<ReturnEventArgs<Nullable<DeleteShiftDirection>>>,Reference[]) Method
The source worksheet.
An event handle to detect deleting direct.


In This Topic
    Create(IWorksheet,EventHandler<ReturnEventArgs<Nullable<DeleteShiftDirection>>>,Reference[]) Method
    In This Topic
    Initializes a new instance of the DeleteCellsRangeCommand class.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Create( _
       ByVal sourceWorksheet As IWorksheet, _
       ByVal queryDeleteDirection As EventHandler(Of ReturnEventArgs(Of Nullable(Of DeleteShiftDirection))), _
       Optional ByVal selections() As Reference _
    ) As RangeActionsCommand
    'Usage
     
    
    Dim sourceWorksheet As IWorksheet
    Dim queryDeleteDirection As EventHandler(Of ReturnEventArgs(Of Nullable(Of DeleteShiftDirection)))
    Dim selections() As Reference
    Dim value As RangeActionsCommand
     
    value = DeleteCellsRangeCommand.Create(sourceWorksheet, queryDeleteDirection, selections)

    Parameters

    sourceWorksheet
    The source worksheet.
    queryDeleteDirection
    An event handle to detect deleting direct.
    selections
    See Also